package com.example.scrawldemo.bean;

/**
 * Created by Administrator on 2018/12/20.
 */

public class Token {


    /**
     * code : 0
     * data : {"bucketName":"qdxy","bucketUrl":"http://qiniu.qidianschoons.com","expireTime":3600,"token":"MKELVjg3pNL-YHleAMiuJB26W2L8lEv5MxAEgn89:7K35-B1GPycu6uc3yQ3-8eCMe0g=:eyJzY29wZSI6InFkeHkiLCJkZWFkbGluZSI6MTU0NTI4NTE0NH0="}
     * message : 查询上传token成功
     */

    private int code;
    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * bucketName : qdxy
         * bucketUrl : http://qiniu.qidianschoons.com
         * expireTime : 3600
         * token : MKELVjg3pNL-YHleAMiuJB26W2L8lEv5MxAEgn89:7K35-B1GPycu6uc3yQ3-8eCMe0g=:eyJzY29wZSI6InFkeHkiLCJkZWFkbGluZSI6MTU0NTI4NTE0NH0=
         */

        private String bucketName;
        private String bucketUrl;
        private int expireTime;
        private String token;

        public String getBucketName() {
            return bucketName;
        }

        public void setBucketName(String bucketName) {
            this.bucketName = bucketName;
        }

        public String getBucketUrl() {
            return bucketUrl;
        }

        public void setBucketUrl(String bucketUrl) {
            this.bucketUrl = bucketUrl;
        }

        public int getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(int expireTime) {
            this.expireTime = expireTime;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
